package cn.tedu.store.mapper;

import cn.tedu.store.entity.WorkFlow;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DS("oa")
public interface WorkFlowMapper {
    List<WorkFlow> getList();

    List<WorkFlow> getToDayWorkFlow(String format);

    List<WorkFlow> getFittings();

    List<WorkFlow> getDemand();

    List<WorkFlow> getAuthorization();

    WorkFlow getOne1(@Param("w") WorkFlow w);

    WorkFlow getOne2(@Param("w")WorkFlow w);

    WorkFlow getOne3(@Param("w")WorkFlow w);

    WorkFlow getOne4(@Param("w")WorkFlow w);
}
